package com.imooc.feign;

import com.imooc.result.GraceJSONResult;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @author liansen
 * @create 05-27-16:02
 */
@FeignClient("company-service")
public interface CompanyMicroServiceFeign {

    @PostMapping("/company/moreInfo")
    GraceJSONResult moreInfo(@RequestParam("companyId") String companyId);
}
